<%-- 
    Document   : retry
    Created on : Feb 18, 2012, 2:08:39 AM
    Author     : Home
--%>

<jsp:useBean id="formHandler" class="servlets.Validate" scope="request"/>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<html>
    <link rel="stylesheet" href="../style/style.css" type="text/css" id="" media="print, projection, screen" />

    <body bgcolor="#FFFACD">

        <table width="920" border="0" align="center">

            <tr >
                <td style="background-color:#FFA500; height:100px">

                </td>
            </tr>

            <tr>
                <td style="padding-top:5%; padding-left:10%; padding-right:10%; padding-bottom:5%; background-color:#EEEEEE;height:auto;width:920px;">
            <a1>User Registration</a1><br>
            <a51>* Required Fields</a51>

            <form name="regsitrator" method="post" action="../register/RegisterCustomerProcess.jsp">
                <table>
                    <tr>
                        <td><a50>*Username: </a50></td>
                    <td><input type="text" name="userName" value='<%=formHandler.getUserName()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("userName")%></a52>
                    </td>
                    </tr>
                    <tr>
                        <td><a50>*Password: </a50></td>
                    <td><input type="password" name="password1" value='<%=formHandler.getPassword1()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("password1")%></a52>
                    </td>
                    </tr>
                    <tr>
                        <td><a50>*Retype Password: </a50></td>
                    <td><input type="password" name="password2" value='<%=formHandler.getPassword2()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("password2")%></a52>
                    </td>
                    </tr>
                    <tr>
                        <td><a50>*First Name: </a50></td>
                    <td><input type="text" name="firstName" value='<%=formHandler.getFirstName()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("firstName")%></a52></td>
                    </tr>
                    <tr>
                        <td><a50>*Last Name: </a50></td>
                    <td><input type="text" name="lastName" value='<%=formHandler.getLastName()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("lastName")%></a52></td>
                    </tr>
                    <tr>
                        <td><a50>*Middle Initial: </a50></td>
                    <td><input type="text" name="middleInitial" value='<%=formHandler.getmiddleInitial()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("middleInitial")%></a52></td>
                    </tr>
                    <tr>
                        <td><a50>*E-Mail: </a50></td>
                    <td><input type="text" name="email" value='<%=formHandler.getEmail()%>'/>
                    <br><a52><%=formHandler.getErrorMsg("email")%></a52></td>
                    </tr>
                    <tr>
                        <td><a50><input type="submit" name="bt_submit" value="Register"/></a50></td>
                    <td><a50><input type="reset" name="bt_clear"/></a50></td>
                    <td align="left"><a href="../index.jsp"><font size="4" face="arial">Home</font></a> </td>
                    </tr>
                </table>
            </form>
        </td>
    </tr>

    <tr>
        <td colspan="2" style="background-color:#FFA500;text-align:center;">
            Copyright © 2011</td>
    </tr>
</table>

</body>
</html> 